<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <css file="__DATA__/css/base.css"/>
</head>
<body style="padding:10px;">
    <div class="path">
        <strong>您现在的位置：</strong>
        <a href="#">角色设置</a>
    </div>
    <div class="send1">
        <a href="__CONTROL__/add_node_show"  class="current button1">添加应用</a>
    </div>
	
<!-- 	<div id="node">
		<list from="$node" name="$v">
				<if value="$v.level eq 1"> 
					<div class="app">
						{$v.title}({$v.name})
						<a href="__CONTROL__/add_node_show/nid/{$v.nid}/level/{$v.level}" ><img width=16px src="__PUBLIC__/images/add.png"/></a>
						<a href="__CONTROL__/delnode/nid/{$v.nid}"><img width=16px src="__PUBLIC__/images/remove.png"/></a>
					</div>
				<elseif value="$v.level eq 2">
					<div class="control">
						<p>{$v.title}({$v.name})
						<a href="__CONTROL__/add_node_show/nid/{$v.nid}/level/{$v.level}" ><img width=16px src="__PUBLIC__/images/add.png"/></a>
						<a href="__CONTROL__/delnode/nid/{$v.nid}"><img width=16px src="__PUBLIC__/images/remove.png"/></a></p>
					</div>	
				<else>
					<div class="method">
						<ul>
							<li>
								{$v.title}({$v.name})
								<a href="__CONTROL__/delnode/nid/{$v.nid}"><img width=16px src="__PUBLIC__/images/remove.png"/></a>
							</li>
						</ul>
					</div>
			</if>
		
		</list>
	</div> -->
<!-- 	<style>
		#node{
			width:500px;
			height:auto;
			margin-bottom:50px;
		}
		#node .app{
			padding-left:5px;
			color:red;
			width:500px;
			margin-left:3px;
			height:32px;
			line-height:38px;
			font-size:16px;
			font-weight:border;
			
		}
		#node .control{
			color:blue;
			margin-top:5px;
			margin-left:10px;
			float:left;
			width:500px;
			border-bottom:1px dotted #666;
			
		}
		#node .control p{
			width:auto;
			margin-left:10px;
			height:29px;
			line-height:32px;font-size:16px;
		}
		#node .method{
			
			width:600px;
		} 
		#node .method li{
			
			width:160px;
			float:left;
			font-size:12px;
			margin-left:10px;
			margin-top:5px;
			height:22px;
			line-height:22px;
		}
		#node img{margin-left:2px;margin-top:-3px;}
		
	</style>
	<div id="node">
		<list from="$node" name="$v">
				<if value="$v.level eq 3"> 
				<div class="method">
					<ul>
						<li>
							{$v.title}({$v.name})
							<a href="__CONTROL__/delnode/nid/{$v.nid}"><img width=16px src="__PUBLIC__/images/remove.png"/></a>
						</li>
					</ul>
				</div>
				<elseif value="$v.level eq 2">
				<div class="control">
					<p>{$v.title}({$v.name})
					<a href="__CONTROL__/add_node_show/nid/{$v.nid}/level/{$v.level}" ><img width=16px src="__PUBLIC__/images/add.png"/></a>
					<a href="__CONTROL__/delnode/nid/{$v.nid}"><img width=16px src="__PUBLIC__/images/remove.png"/></a></p>
				</div>	
				<else>
				<div class="app">
					{$v.title}({$v.name})
					<a href="__CONTROL__/add_node_show/nid/{$v.nid}/level/{$v.level}" ><img width=16px src="__PUBLIC__/images/add.png"/></a>
					<a href="__CONTROL__/delnode/nid/{$v.nid}"><img width=16px src="__PUBLIC__/images/remove.png"/></a>
				</div>
			</if>
		
		</list>
	</div> -->
	
<table class="table1">
		<list from="$node" name="$v">
			{$v.html}
				<tr><if value="$v.level eq 3"> 
					<td><span>{$v.title}({$v.name})</span><a href="__CONTROL__/delnode/nid/{$v.nid}" class="current button2">删除</a>
					</td>
				</tr>
				
				<elseif value="$v.level eq 2">
				<tr>	
					<td><div>{$v.title}({$v.name})<a href="__CONTROL__/add_node_show/nid/{$v.nid}/level/{$v.level}" class="current button1">添加方法</a><a href="__CONTROL__/delnode/nid/{$v.nid}" class="current button2">删除</a></div>
				</td>
				</tr>
				<tr>	
								
				<else>
					<td>{$v.title}({$v.name})<a href="__CONTROL__/add_node_show/nid/{$v.nid}/level/{$v.level}" class="current button1">添加控制器</a><a href="__CONTROL__/delnode/nid/{$v.nid}" class="current button2">删除</a></td>
			</if>
		</tr>
		</list>
	</table> 
	<!-- <div class="send2">
		<a href="#" class="button1">排序</a>
	</div> -->
</body>
</html>
